<template>
  <div class="station-list">
    <div
      v-for="station in metroStore.stations[metroStore.choosedLine?.id || '']"
      :key="station"
    >
      {{ station }}
      <span v-if="metroStore.arrivalInfo[station]"
        >到达时间：{{ metroStore.arrivalInfo[station] }}</span
      >
    </div>
  </div>
</template>
<script setup>
import { useMetroStore } from '@/store/metroStore'
const metroStore = useMetroStore()
</script>
